package cc.linker.steplink.crm.dao;

import cc.linker.steplink.crm.domain.CustomerInfoWx;
import cc.linker.steplink.crm.domain.CustomerInfoWxKey;
import cc.linker.steplink.crm.domain.Fans;

public interface CustomerInfoWxDao {
    int deleteByPrimaryKey(CustomerInfoWxKey key);

    int insert(CustomerInfoWx record);

    int insertSelective(CustomerInfoWx record);

    CustomerInfoWx selectByPrimaryKey(CustomerInfoWxKey key);

    int updateByPrimaryKeySelective(CustomerInfoWx record);

    int updateByPrimaryKey(CustomerInfoWx record);

    void insertCustomerByFans(Fans fans);

    /**
     * 根据customerId查count
     */
    Integer countByCustomerId(String customerId);
}